package com.ruoyi.platform.service;

import java.util.List;
import com.ruoyi.platform.domain.Announcements;

/**
 * 公告Service接口
 * 
 * @author ruoyi
 * @date 2025-10-21
 */
public interface IAnnouncementsService 
{
    /**
     * 查询公告
     * 
     * @param announcementId 公告主键
     * @return 公告
     */
    public Announcements selectAnnouncementsByAnnouncementId(String announcementId);

    /**
     * 查询公告列表
     * 
     * @param announcements 公告
     * @return 公告集合
     */
    public List<Announcements> selectAnnouncementsList(Announcements announcements);

    /**
     * 新增公告
     * 
     * @param announcements 公告
     * @return 结果
     */
    public int insertAnnouncements(Announcements announcements);

    /**
     * 修改公告
     * 
     * @param announcements 公告
     * @return 结果
     */
    public int updateAnnouncements(Announcements announcements);

    /**
     * 批量删除公告
     * 
     * @param announcementIds 需要删除的公告主键集合
     * @return 结果
     */
    public int deleteAnnouncementsByAnnouncementIds(String[] announcementIds);

    /**
     * 删除公告信息
     * 
     * @param announcementId 公告主键
     * @return 结果
     */
    public int deleteAnnouncementsByAnnouncementId(String announcementId);
}
